import React, { Component, Fragment } from 'react';
import { Spin, Row, Col, Card} from 'antd';
import HeaderTab from '@/components/HeaderTab'
import { connect } from 'dva';
import router from 'umi/router';
import styles from './index.less';

class recharge extends Component {
    constructor(props) {
        super(props);
        this.state = {
         
          tabs: [{
            title: '手机短信',
            key: `/${window.storeId}/setting/store/sms`,
            // disabled: true
          }, {
            title: '充值记录',
            key: `/${window.storeId}/setting/store/smsrecharge`
          }],
          
        };
      }
      onTabChange = (id) => {
        this.setState({
          activeId: id
        }, () => {
          router.replace({
            pathname: `${id}`
          })
        });
      }

    render() {
  
        return (
            
            <Fragment>
                {/* <HeaderTab
                _this={this}
                type="slider"
                activeId={this.state.activeId}
                onChange={this.onTabChange}
                tabs={this.state.tabs}
                ></HeaderTab> */}
                <Spin spinning={false}>
                <Card  bordered={false}>
                aaa
                </Card>
               
                </Spin>
            </Fragment>
          );
    }
}
export default (recharge);
